﻿<?xml version="1.0" encoding="utf-8" ?>
	
<nlog xmlns="http://www.nlog-project.org/schemas/NLog.mono2.xsd"
      xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
	
	<targets>
		<target xsi:type="File" name="error" fileName="${basedir}/logs/error/${shortdate}.log"
			layout="${longdate} | ${uppercase:${level}} | ${logger}|${callsite} | ${message}" />

		<target xsi:type="File" name="all" fileName="${basedir}/logs/all/${shortdate}.log"
			layout="${longdate} | ${uppercase:${level}} | ${logger}|${callsite} | ${message}" />

		<target xsi:type="File" name="info" fileName="${basedir}/logs/info/${shortdate}.log"
			layout="${longdate} | ${uppercase:${level}} | ${logger}|${callsite} | ${message}" />
	</targets>
	
	<rules>
		<logger name="*" minlevel="Trace" writeTo="all"/>
		<logger name="*" minlevel="Debug" writeTo="info"/>
		<logger name="*" minlevel="Error" writeTo="error"/>
	</rules>

</nlog>